package com.qixiaobao.nondirect.settle.mapper;

import com.qixiaobao.nondirect.settle.domain.SupplyPremiumPaid;
import com.qixiaobao.nondirect.settle.domain.dto.SupplyPremiumPaidDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description 已付保费  数据层
 * @Author yangxm
 * @Date 2025/7/1 17:15
 */
@Mapper
public interface SupplyPremiumPaidMapper {

    /**
     * @Description 查询 已付保费列表
     * @Author yangxm
     * @Date 2025/7/1 17:17
     * @param supplyPremiumPaidDTO
     * @return java.util.List<com.qixiaobao.nondirect.domain.SupplyPremiumPaid>
     */
    List<SupplyPremiumPaid> selectSupplyPremiumPaidList(SupplyPremiumPaidDTO supplyPremiumPaidDTO);

    /**
     * @Description 根据id，查询已付保费信息及对应的银行回单明细
     * @Author yangxm
     * @Date 2025/7/2 8:56
     * @param id
     * @return com.qixiaobao.nondirect.domain.SupplyPremiumPaid
     */
    SupplyPremiumPaid selectInsureFeeReceiptById(Long id);

    /**
     * @Description 修改付款备注
     * @Author yangxm
     * @Date 2025/7/2 9:01
     * @param supplyPremiumPaid
     * @return int
     */
    int updatePayRemark(SupplyPremiumPaid supplyPremiumPaid);
}
